import Vue from 'vue'
import Vuex from 'vuex'
import Login from './modules/login'
import Users from './modules/users'
import Role from './modules/role'
import Expert from './modules/expert'
import Org from './modules/organzition'
import Article from './modules/article'
import File from './modules/file'
import Friend from './modules/friend'

Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        Login,
        Users,
        Role,
        Expert,
        Org,
        Article,
        File,
        Friend
    }
})